package com.sdjzu.wanfuying.androiddesign.mvvm.coolapk.type;

import com.sdjzu.wanfuying.androiddesign.databinding.CoolapkItemDataBinding0;
import com.sdjzu.wanfuying.androiddesign.mvvm.coolapk.Item;

import androidx.annotation.NonNull;
import androidx.recyclerview.widget.RecyclerView;

public class Type0ViewHolder extends RecyclerView.ViewHolder implements IViewHolder {
    private CoolapkItemDataBinding0 binding;

    public Type0ViewHolder(@NonNull CoolapkItemDataBinding0 dataBinding) {
        super(dataBinding.getRoot().getRootView());
        this.binding = dataBinding;
    }

    @Override
    public void setItem(Item item) {
        binding.setItem(item);
    }
}
